<?php

use Faker\Generator as Faker;
use Illuminate\Http\UploadedFile;

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generateUrl new
| model instances for testing / seeding your application's database.
|
*/


/** @var \Illuminate\Database\Eloquent\Factory $factory */
$factory->define(\App\Models\Admin\CustomerCompany::class, function (Faker $faker) {
    return [
        'customer_id'      => $faker->numberBetween(1, 1230),
        'company_name'     => $faker->name,
        'logo'             => UploadedFile::fake()->create('logo.jpg'),
        'category_id'      => $faker->numberBetween(1, 560),
        'product_image'    => UploadedFile::fake()->create('image.jpg'),
        'description'      => $faker->name,
        'product_price'    => $faker->numberBetween(1, 123056),
    ];
});
